package com.drawingtimer.admin.converter;

import com.drawingtimer.admin.model.entity.TTimeSegmentPause;
import com.drawingtimer.admin.model.vo.TTimeSegmentPausePageVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 时间段暂停记录模型转换器
 *
 * @author ballcat 2025-04-30 14:13:33
 */
@Mapper
public interface TTimeSegmentPauseConverter {

	TTimeSegmentPauseConverter INSTANCE = Mappers.getMapper(TTimeSegmentPauseConverter.class);

	/**
	 * PO 转 PageVO
	 * @param tTimeSegmentPause 时间段暂停记录
	 * @return TTimeSegmentPausePageVO 时间段暂停记录PageVO
	 */
	TTimeSegmentPausePageVO poToPageVo(TTimeSegmentPause tTimeSegmentPause);

}
